Road accidents caused by sudden health issues of drivers are a major concern in the world. Situations such as heart attack, abnormal body temperature, or low oxygen levels can cause loss of vehicle control. To solve this issue, this paper presents an in-cabin health monitoring and emergency response system using ESP32. The proposed system continuously monitors vital parameters of the driver, including heart rate, body temperature, and oxygen saturation (SpO?). These parameters are measured and transmitted to an IoT platform-Blynk Iot for real-time observation. If any abnormal or emergency condition is detected, the system activates an emergency protocol that includes alert generation using a buzzer, activation of hazard lights through a relay module, and reduction of vehicle speed using a motor driver. Additionally, GPS and GSM modules are integrated to provide location tracking and alert communication. The system focuses on ensuring that the vehicle safely slows down and parks at the roadside, minimizing accident risk. Our proposed system is cost-effective and suitable for real-time applications in modern vehicles.
Introduction
Road accidents caused by sudden driver health emergencies, such as cardiac arrest, abnormal body temperature, or low oxygen levels, have become a major safety concern. Existing vehicle safety systems primarily focus on external threats like collisions and obstacle detection, while giving little attention to the driver's health condition. Although some IoT-based monitoring systems can track vital signs and generate alerts, most lack automated emergency response mechanisms.
To address this gap, the proposed system introduces a real-time in-cabin driver health monitoring and emergency response system based on the ESP32 microcontroller. The system continuously monitors vital health parameters, including heart rate, body temperature, and blood oxygen (SpO?) levels, using integrated sensors. Data is processed by the ESP32 and transmitted to the Blynk IoT platform for real-time monitoring through a mobile application.
The system follows a structured workflow consisting of data acquisition, processing, IoT monitoring, emergency detection, and emergency response. Sensor readings are continuously compared with predefined threshold values. If an abnormal condition is detected, the system automatically triggers multiple safety actions. These include activating a buzzer, turning on vehicle hazard lights, gradually reducing vehicle speed, safely stopping the vehicle at the roadside, and sending emergency alerts with the vehicle’s location through GPS and GSM modules.
The architecture is divided into four layers: sensing, processing, communication, and response. The sensing layer collects physiological data, the ESP32 processing layer analyzes the data, the communication layer handles IoT monitoring and emergency notifications, and the response layer executes vehicle safety measures.
The proposed system offers several advantages, including real-time health monitoring, fast emergency detection, reliable communication, automated vehicle control, and improved road safety. It is designed as a cost-effective solution suitable for both private and commercial vehicles without requiring major vehicle modifications.
Potential applications include personal vehicles, public transportation, fleet management systems, emergency services, smart vehicles, and future autonomous or semi-autonomous vehicles. Overall, the system provides an integrated approach that combines health monitoring, IoT communication, and automatic vehicle control to reduce accident risks and enhance driver safety.
Conclusion
The proposed ESP32-based in-cabin health monitoring system provides continuous real-time monitoring of driver vital signs, including heart rate, body temperature, and SpO?. In case of abnormal conditions, it automatically triggers emergency responses such as reducing vehicle speed, activating hazard lights, sounding an alert buzzer, and sending location-based notifications via GPS and GSM.
By combining IoT-based remote monitoring with automated vehicle control, the system significantly enhances driver safety, reduces the risk of accidents caused by sudden health issues, and demonstrates a cost-effective solution suitable for modern smart vehicles. Overall, this project showcases an integrated approach to proactive road safety and emergency management.
References
[1] S. M. Riazul Islam, D. Kwak, M. H. Kabir, M. Hossain, and K. S. Kwak, “The Internet of Things for Health Care: A Comprehensive Survey,” IEEE Access, vol. 3, pp. 678–708, 2015.
[2] A. A. Nada, M. A. Fakhr, and A. F. Seddik, “IoT-Based Smart Health Monitoring System for Driver Safety,” International Journal of Engineering Research & Technology (IJERT), vol. 8, no. 6, pp. 102–106, 2019.
[3] M. Ali, A. Alkhateeb, and A. A. Ahmad, “Smart Vehicle Safety System Using Embedded Sensors and IoT,” IEEE Sensors Journal, vol. 21, no. 4, pp. 4567–4575, 2021.
[4] L. Melders, R. Smigins, and A. Birkavs, “Recent Advances in Vehicle Driver Health Monitoring Systems,” Sensors, vol. 25, no. 6, p. 1812, 2025, doi:10.3390/s25061812.
[5] D. Y. Jaya, “IoT-Based Driver Health Monitoring System with Location-Based Service Feature,” International Journal of Health Engineering and Technology, vol. 3, no. 6, 2025, doi:10.55227/ijhet.v3i6.263.
[6] K. R. Krupa Prasad et al., “Smart Guard: IoT-Based Driver Health Monitoring and Safety System,” IRO Journal on Sustainable Wireless Systems, vol. 6, no. 4, pp. 353–361, 2025, doi:10.36548/jsws.2024.4.006.
[7] “Sensor-Based Health Monitoring and Controlling of Vehicle Using IoT,” Materials Today: Proceedings, vol. 45, pp. 2908–2911, 2021, doi:10.1016/j.matpr.2020.11.903.
[8] O. Alhousrya, A. Bennagi, P. A. Cotfas, and D. T. Cotfas, “IoT-Enabled Driver Health Monitoring System Using Multi-Modal Sensors,” in Proc. IEEE SIITME, 2025, doi:10.1109/siitme67657.2025.11293652.
[9] S. F. A. Razak et al., “Monitoring Physiological State of Drivers Using In-Vehicle Sensing of Non-Invasive Signals,” Civil Engineering Journal, 2024, doi:10.28991/CEJ-2024-010-04-014.
[10] B. T. Petkar, C. Bhagya, T. K. Gagan, and K. Lokesha, “Automatic Driver Drowsiness Alert and Health Monitoring System Using GSM,” in IJERT Conference Proceedings, 2018, doi:10.17577/IJERTCONV6IS13126.
[11] M. R. K. K. Rahman et al., “IoT-Based Wireless Patient Monitor Using ESP32 Microcontroller,” in Proc. ACIT, 2023, doi:10.1109/ACIT58888.2023.10453847.
[12] M. I. P. Pratama et al., “Design and Evaluation of an IoT-Enabled ESP32 Photoplethysmography Monitor for Heart Rate and SpO?,” Jurnal TRIAC, doi:10.21107/triac.v12i2.31989.
[13] “IoT-Based Real-Time Health Monitoring System with ML-Driven Smart Insights Using ESP32,” ResearchGate Preprint, 2025, doi:10.13140/RG.2.2.16825.89449.
[14] T. Rahman, “IoT-Based Smart Vehicle Monitoring System: A Systematic Literature Review,” IJSRSET, vol. 8, no. 1, 2021, doi:10.32628/IJSRSET207647.
[15] “Autonomous Vehicle Health Monitoring and Driver Safety System,” IJRASET, 2025, doi:10.22214/ijraset.2025.69444.
[16] “IoT-Based Patient Monitoring System,” IJRASET, 2025, doi:10.22214/ijraset.2025.72050.
[17] “Innovative Driver Monitoring Systems in Smart Road Scenario,” Sensors (MDPI), vol. 25, no. 2, p. 562, 2025, doi:10.3390/s25020562.